#ifndef PWMMOTOR_H_
#define PWMMOTOR_H_

#include "stm32f10x.h"

void pwmMotor_init(void);

void pwmMotor_setPeriod(uint16_t period);
void pwmMotor_setPrescaler(uint16_t prescaler);

void pwmMotor_setCompare1(uint16_t compare);
void pwmMotor_setCompare2(uint16_t compare);
void pwmMotor_setCompare3(uint16_t compare);
void pwmMotor_setCompare4(uint16_t compare);

#endif /*PWMMOTOR_H_*/
